package com.wayhome.springframework.beans.factory;

import com.wayhome.springframework.beans.BeanException;

public interface BeanFactory {

    /**
     * bean 工厂通过beanName 获取到示例对象
     * @param beanName bean名称
     * @return 实例对象
     * @throws BeanException
     */
    Object getBean(String beanName) throws BeanException;
}
